Optimal. Leaf size=125 \[ -\frac {2 \left (2 a e^2 g-c d (3 e f-d g)\right ) \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{3 c^2 d^2 e \sqrt {d+e x}}+\frac {2 g \sqrt {d+e x} \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{3 c d e} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.06, antiderivative size = 125, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 44, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.045, Rules used = {808, 662}
\begin {gather*} \frac {2 g \sqrt {d+e x} \sqrt {x \left (a e^2+c d^2\right )+a d e+c d e x^2}}{3 c d e}-\frac {2 \sqrt {x \left (a e^2+c d^2\right )+a d e+c d e x^2} \left (2 a e^2 g-c d (3 e f-d g)\right )}{3 c^2 d^2 e \sqrt {d+e x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 662
Rule 808
Rubi steps
\begin {align*} \int \frac {\sqrt {d+e x} (f+g x)}{\sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}} \, dx &=\frac {2 g \sqrt {d+e x} \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{3 c d e}+\frac {1}{3} \left (3 f-\frac {d g}{e}-\frac {2 a e g}{c d}\right ) \int \frac {\sqrt {d+e x}}{\sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}} \, dx\\ &=-\frac {2 \left (2 a e^2 g-c d (3 e f-d g)\right ) \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{3 c^2 d^2 e \sqrt {d+e x}}+\frac {2 g \sqrt {d+e x} \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{3 c d e}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.04, size = 53, normalized size = 0.42 \begin {gather*} \frac {2 \sqrt {(a e+c d x) (d+e x)} (-2 a e g+c d (3 f+g x))}{3 c^2 d^2 \sqrt {d+e x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.14, size = 49, normalized size = 0.39
method | result | size |
default | \(-\frac {2 \sqrt {\left (c d x +a e \right ) \left (e x +d \right )}\, \left (-c d g x +2 a e g -3 c d f \right )}{3 \sqrt {e x +d}\, c^{2} d^{2}}\) | \(49\) |
gosper | \(-\frac {2 \left (c d x +a e \right ) \left (-c d g x +2 a e g -3 c d f \right ) \sqrt {e x +d}}{3 c^{2} d^{2} \sqrt {c d e \,x^{2}+a \,e^{2} x +c \,d^{2} x +a d e}}\) | \(67\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.31, size = 67, normalized size = 0.54 \begin {gather*} \frac {2 \, \sqrt {c d x + a e} f}{c d} + \frac {2 \, {\left (c^{2} d^{2} x^{2} - a c d x e - 2 \, a^{2} e^{2}\right )} g}{3 \, \sqrt {c d x + a e} c^{2} d^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 4.72, size = 74, normalized size = 0.59 \begin {gather*} \frac {2 \, \sqrt {c d^{2} x + a x e^{2} + {\left (c d x^{2} + a d\right )} e} {\left (c d g x + 3 \, c d f - 2 \, a g e\right )} \sqrt {x e + d}}{3 \, {\left (c^{2} d^{2} x e + c^{2} d^{3}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {d + e x} \left (f + g x\right )}{\sqrt {\left (d + e x\right ) \left (a e + c d x\right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.43, size = 160, normalized size = 1.28 \begin {gather*} \frac {2 \, {\left ({\left (x e + d\right )} c d e - c d^{2} e + a e^{3}\right )}^{\frac {3}{2}} g e^{\left (-3\right )}}{3 \, c^{2} d^{2}} + \frac {2 \, \sqrt {{\left (x e + d\right )} c d e - c d^{2} e + a e^{3}} {\left (c d f - a g e\right )} e^{\left (-1\right )}}{c^{2} d^{2}} + \frac {2 \, {\left (\sqrt {-c d^{2} e + a e^{3}} c d^{2} g - 3 \, \sqrt {-c d^{2} e + a e^{3}} c d f e + 2 \, \sqrt {-c d^{2} e + a e^{3}} a g e^{2}\right )} e^{\left (-2\right )}}{3 \, c^{2} d^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 3.23, size = 88, normalized size = 0.70 \begin {gather*} -\frac {\left (\frac {\left (4\,a\,e\,g-6\,c\,d\,f\right )\,\sqrt {d+e\,x}}{3\,c^2\,d^2\,e}-\frac {2\,g\,x\,\sqrt {d+e\,x}}{3\,c\,d\,e}\right )\,\sqrt {c\,d\,e\,x^2+\left (c\,d^2+a\,e^2\right )\,x+a\,d\,e}}{x+\frac {d}{e}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________